package com.boglond.util;

import lombok.extern.slf4j.Slf4j;

import java.util.HashMap;
import java.util.Map;

@Slf4j
public class DateTypeUtil {

    private static final Map<String, String> DATETYPE = new HashMap<>();


    static {
        DATETYPE.put("3","BigDecimal");
        DATETYPE.put("4","Integer");
        DATETYPE.put("5","Integer");
        DATETYPE.put("-5","Long");
        DATETYPE.put("-6","Short");
        DATETYPE.put("12","String");
        DATETYPE.put("93","Date");
        DATETYPE.put("-1","String");
        DATETYPE.put("7","BigDecimal");
        DATETYPE.put("11","BigDecimal");

    }

    public static String getValueByKey(String name) {
        return DATETYPE.get(name);
    }
}
